const a = async function (params, _, { dc: { http } }) {
  const { data, total } = await http.post({
    url: `/nyk/search/listBz`,
    data: params,
  });
  if (data && data.length) {
    const keys = ["id", "tag", "公司名称", "统一社会信用代码证号"];
    data.forEach((item) => {
      Object.keys(item).forEach((key) => {
        if (!keys.includes(key) && item[key]) {
          item[key] = Number(item[key].toFixed(2));
        }
      });
    });
  }
  return { items: data, total: total };
};
